package day_2022_9_to_12.Day;

/**
 * @author haomin
 * @date 2022/10/03 22:44
 **/
public class Day32_2_Num172_TrailingZeroes {
    class Solution {
        public int trailingZeroes(int n) {
            int count = 0;
            while(n >= 5){
                count += n / 5;
                n /= 5;
            }
            return count;
        }
    }
}